package com.spic.business.violation.supervision.speed.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spic.business.violation.supervision.speed.domain.ViolationsSpeedRecordVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ViolationsSpeedRecordVoMapper extends BaseMapper<ViolationsSpeedRecordVo> {
    /**
     * 新增超速记录
     *
     * @param violationsSpeedRecord 超速记录
     * @return 结果
     */
    public int insertViolationsSpeedRecordVo(ViolationsSpeedRecordVo violationsSpeedRecord);
    /**
     * 查询超速记录
     *
     * @param cid 测速系统超速记录id
     * @return 超速记录
     */
    public Long selectViolationsSpeedRecordById(Long cid);

    /**
     * 防疲劳标识id
     * @param fplId
     * @return
     */
    public Long selectViolationsSpeedRecordByFplId(String fplId);
}
